GtkContainer: Propagate draws in GdkWindow order
authorAlexander Larsson <alexl@redhat.com>
Wed, 15 May 2013 10:39:21 +0000 (12:39 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 15 May 2013 10:47:05 +0000 (12:47 +0200)
commitc3973e8468ae4009fb309568463aea5e7856e4b7
tree7de05689ec8ded0799f1df48eacf635c54ea4923
parenta60ccd3672467efb454b121993febc36f33cbc79
GtkContainer: Propagate draws in GdkWindow order

Now that we're not drawing the GdkWindows by themeselves we need to
propagate into children in the same order as the windows were painted
otherwise apps can't rely on stacking order to overlay children.

This is still not 100% the same as the old behaviour, because we're
treating all windows that are part of a window at the same time (to allow
e.g. opacity groups), and we're only looking at order for the main
windows of a widget. However, this fixes at least the ordering
of the gnome-boxes fullscreen overlay toolbar.

https://bugzilla.gnome.org/show_bug.cgi?id=699970
gtk/gtkcontainer.c